package com.yht.weblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author: yht
 * @date: 2024/6/14 22:54
 * @description: 更新文章事件
 **/
@Getter
public class UpdateArticleEvent extends ApplicationEvent {
    /**
     * 文章ID
     */
    private Long articleId;

    public UpdateArticleEvent(Object source, Long articleId){
        super(source);
        this.articleId = articleId;
    }
}
